home *** CD-ROM | disk | FTP | other *** search
/ Deutsche Edition 1 / Deutsche Edition 1.iso / amok / 071-080 / amok78 / wipe / s / cdd < prev    next >
AmigaDOS Script File  |  1993-11-04  |  620b  |  41 lines

  1. .key pfad
  2. ; CD to Dice environment
  3. ; usage : cdc [pfad]
  4.  
  5. ;Assign DCC: dh1:DICE
  6.  
  7. assign DINCLUDE: DCC:include
  8. assign DLIB: DCC:dlib
  9. path DCC:bin add
  10. resident dcc:bin/DCC    pure
  11. resident dcc:bin/DC1    pure
  12. resident dcc:bin/DCPP   pure
  13. resident dcc:bin/DAS    pure
  14. resident dcc:bin/DLINK pure
  15.  
  16.  
  17. if not exists DCC:
  18.   Echo "Laufwerk DCC: nicht vorhanden !"
  19.   quit
  20. endif
  21.  
  22. stack 30000
  23. path DCC: add
  24. setenv AEd.mode Dice
  25.  
  26. cd DCC:
  27. if "<pfad>" gt " "
  28.   if exists "<pfad>"
  29.     cd "<pfad>"
  30.   endif
  31. else
  32.   if exists "env:DiceProject"
  33.     if exists "$DiceProject"
  34.       cd  "$DiceProject"
  35.     endif
  36.   endif
  37. endif
  38.  
  39. run >NIL: AmokEd
  40.  
  41.